<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE>class  OSGTEXT_EXPORT osgText::Font</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2>class  OSGTEXT_EXPORT <A HREF="#DOC.DOCU">osgText::Font</A></H2></H2><HR>

<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
<param name=classes value="Mosg::Object,M,CFont,MFont.html,CVectorFont,MVectorFont.html,CRasterFont,MRasterFont.html">
<param name=before value="M,M,M|_,Mr_">
<param name=after value="Md_,M,M,M">
<param name=indent value="0,1,1,1">
<param name=arrowdir value="down">
</APPLET>
<HR>

<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.2.1">Font</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.2.2">Font</A></B>(const <!1><A HREF="Font.html#DOC.6.2.2">Font</A>&amp; font, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   bool <B><A HREF="#DOC.6.2.3">isSameKindAs</A></B>(const osg::Object* obj) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   const char* <B><A HREF="#DOC.6.2.4">libraryName</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   const char* <B><A HREF="#DOC.6.2.5">className</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.2.6">open</A></B>(const char* font)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.2.7">open</A></B>(const std::string&amp; font)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   bool <B><A HREF="#DOC.6.2.8">create</A></B>(osg::State&amp; state, int pointSize, const unsigned int res = 72 )
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   bool <B><A HREF="#DOC.6.2.9">create</A></B>(osg::State&amp; state)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.6.2.10">output</A></B>(osg::State&amp; state, const char* text)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   bool <B><A HREF="#DOC.6.2.11">isOk</A></B>(void) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   bool <B><A HREF="#DOC.6.2.12">isCreated</A></B>(void) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   float <B><A HREF="#DOC.6.2.13">getWidth</A></B>(const char* text) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   int <B><A HREF="#DOC.6.2.14">getHeight</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   int <B><A HREF="#DOC.6.2.15">getDescender</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   int <B><A HREF="#DOC.6.2.16">getAscender</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.2.17">getPointSize</A></B>(void) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.2.18">getTextureSize</A></B>(void) const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const std::string&amp; <B><A HREF="#DOC.6.2.19">getFontName</A></B>() const 
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.2.20">copyAndInvalidate</A></B>(<!1><A HREF="Font.html">Font</A> &amp;dest)
<DD><I>Transfer font settings to another Font object and invalidate this one</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>FTFont* <B><A HREF="#DOC.6.2.21">getFont</A></B>(void)
</DL></P>

<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.2.26">_init</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.2.27">_created</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>FTFont* <B><A HREF="#DOC.6.2.28">_font</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.6.2.29">_fontName</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.2.30">_pointSize</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.2.31">_res</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.2.32">_textureSize</A></B>
</DL></P>

<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   <B><A HREF="#DOC.6.2.22">~Font</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.6.2.23">clear</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   FTFont* <B><A HREF="#DOC.6.2.24">createFontObj</A></B>(void) = 0
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.2.25">init</A></B>(const std::string&amp; font)
</DL></P>

</DL>

<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<DL>

<A NAME="Font"></A>
<A NAME="DOC.6.2.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Font()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="Font"></A>
<A NAME="DOC.6.2.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Font(const <!1><A HREF="Font.html#DOC.6.2.2">Font</A>&amp; font, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="isSameKindAs"></A>
<A NAME="DOC.6.2.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   bool isSameKindAs(const osg::Object* obj) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="libraryName"></A>
<A NAME="DOC.6.2.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   const char* libraryName() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="className"></A>
<A NAME="DOC.6.2.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   const char* className() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="open"></A>
<A NAME="DOC.6.2.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool open(const char* font)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="open"></A>
<A NAME="DOC.6.2.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool open(const std::string&amp; font)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="create"></A>
<A NAME="DOC.6.2.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   bool create(osg::State&amp; state, int pointSize, const unsigned int res = 72 )</B></TT>
<DL><DT><DD></DL><P>
<A NAME="create"></A>
<A NAME="DOC.6.2.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   bool create(osg::State&amp; state)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="output"></A>
<A NAME="DOC.6.2.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void output(osg::State&amp; state, const char* text)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="isOk"></A>
<A NAME="DOC.6.2.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   bool isOk(void) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isCreated"></A>
<A NAME="DOC.6.2.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   bool isCreated(void) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getWidth"></A>
<A NAME="DOC.6.2.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   float getWidth(const char* text) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getHeight"></A>
<A NAME="DOC.6.2.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   int getHeight() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getDescender"></A>
<A NAME="DOC.6.2.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   int getDescender() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAscender"></A>
<A NAME="DOC.6.2.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   int getAscender() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getPointSize"></A>
<A NAME="DOC.6.2.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getPointSize(void) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getTextureSize"></A>
<A NAME="DOC.6.2.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getTextureSize(void) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getFontName"></A>
<A NAME="DOC.6.2.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const std::string&amp; getFontName() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="copyAndInvalidate"></A>
<A NAME="DOC.6.2.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void copyAndInvalidate(<!1><A HREF="Font.html">Font</A> &amp;dest)</B></TT>
<DD>Transfer font settings to another Font object and invalidate this one
<DL><DT><DD></DL><P>
<A NAME="getFont"></A>
<A NAME="DOC.6.2.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>FTFont* getFont(void)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~Font"></A>
<A NAME="DOC.6.2.22"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   ~Font()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="clear"></A>
<A NAME="DOC.6.2.23"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void clear()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="createFontObj"></A>
<A NAME="DOC.6.2.24"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   FTFont* createFontObj(void) = 0</B></TT>
<DL><DT><DD></DL><P>
<A NAME="init"></A>
<A NAME="DOC.6.2.25"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool init(const std::string&amp; font)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_init"></A>
<A NAME="DOC.6.2.26"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _init</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_created"></A>
<A NAME="DOC.6.2.27"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _created</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_font"></A>
<A NAME="DOC.6.2.28"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>FTFont* _font</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_fontName"></A>
<A NAME="DOC.6.2.29"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string _fontName</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_pointSize"></A>
<A NAME="DOC.6.2.30"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _pointSize</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_res"></A>
<A NAME="DOC.6.2.31"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _res</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_textureSize"></A>
<A NAME="DOC.6.2.32"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _textureSize</B></TT>
<DL><DT><DD></DL><P></DL>
<HR>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="VectorFont.html">VectorFont</A><BR>
<A HREF="RasterFont.html">RasterFont</A><BR>
</DL>

<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>
